package com.travel.convert;

import com.travel.dto.HotelOrderDto;
import com.travel.pojo.Order;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface HotelOrderConverter {

    HotelOrderConverter INSTANCE = Mappers.getMapper(HotelOrderConverter.class);

    HotelOrderDto dtoToEntity (Order order);

    Order entityToDto(HotelOrderDto hotelOrderDto);

}
